
###############################################################################
#
#  EGSnrc makefile to build GUIs on Windows
#  Copyright (C) 2015 National Research Council Canada
#
#  This file is part of EGSnrc.
#
#  EGSnrc is free software: you can redistribute it and/or modify it under
#  the terms of the GNU Affero General Public License as published by the
#  Free Software Foundation, either version 3 of the License, or (at your
#  option) any later version.
#
#  EGSnrc is distributed in the hope that it will be useful, but WITHOUT ANY
#  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
#  FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for
#  more details.
#
#  You should have received a copy of the GNU Affero General Public License
#  along with EGSnrc. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
#
#  Author:          Iwan Kawrakow, 2003
#
#  Contributors:    Ernesto Mainegra-Hing
#                   Frederic Tessier
#
###############################################################################

the_config=win-static

all:   first \
	egs_gui.exe egs_inprz.exe

egs_gui.exe: ..\..\bin\$(the_config)\egs_gui.exe
	copy $< $@

egs_inprz.exe: ..\..\bin\$(the_config)\egs_inprz.exe
	copy $< $@

first:
	@build_guis

clean:
	@clean_all

.PHONY: first clean
